home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / utilstem / onceda / onceaday.doc < prev   
Encoding:
Text File  |  1991-05-24  |  3.5 KB  |  126 lines

  1.  
  2.  ╒═══════════════════════╕
  3.  │ RUN IT ONCE EVERY DAY │
  4.  ╘═══════════════════════╛
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  BEFORE: PcComputing's June 1991 magazine contained a utility file called
  13.      "Once a day" that ran any programs you wanted once every day.
  14.      But it was overwhelmed with bugs !!
  15.  
  16.        1. It required that you make 3 separate batch files.
  17.        2. You must create a separate subdirectory just to run the file.
  18.        3. It takes over 25 seconds to run the thing.
  19.        4. If you're working very late, the routines kick in when you
  20.       reboot, thus screwing up whatever you were doing.
  21.        5. It doesn't work on far-east formatted times (yy-mm-dd as opposed
  22.       to mm-dd-yy).
  23.  
  24.  
  25.  
  26.  AFTER: Sorry guys, that's too many bugs !
  27.  
  28.     Therefore, I created:
  29.  
  30.  
  31.  
  32.      █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  33.      █              █
  34.      █    EVERYDAY.EXE  █
  35.      █              █
  36.      █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  37.  
  38.  
  39.    Do you have some computerized tasks you do at the start of your day?
  40.  Some people like running Viruscan upon bootup, or maybe CHKDSK.
  41.  Others get their electronic mail, or check for messages on a local
  42.  BBS.  Putting all this stuff in your autoexec.bat takes a lot of space,
  43.  plus everytime you reboot, all the tasks will start again !
  44.  
  45.  EVERYDAY.EXE checks for a file called "[date].XXX".  If it doesn't exist,
  46.  then the file is created, and all your daily chores are done.
  47.  
  48.  No rediculous batch files, no subdirectories to create, NOTHING TO DO !
  49.  
  50.  
  51.  
  52.       ┌───────────────┐
  53.       │USAGE AND RULES│
  54.       └───────────────┘
  55.  
  56.  1. Usage: EVERYDAY [file to run] [another file] [another file...]
  57.  
  58.        ie: EVERYDAY chkdsk cls dir viruscan
  59.  
  60.        EVERYDAY "del \backup\*.*" "copy \lotus\*.wk1 \backup"
  61.  
  62.        EVERYDAY "del \pcplus\*.log" cd\pcplus pcplus
  63.  
  64.  ┌───────────────────────────────────────────────────────────────┐
  65.  │ PUT EVERYDAY.EXE + FILES-TO-RUN INSIDE YOUR AUTOEXEC.BAT FILE │
  66.  └───────────────────────────────────────────────────────────────┘
  67.  
  68.  3. The file [date].XXX must be in current directory, or in path.
  69.     (you can't start from drive A: one day, then drive C: the next,
  70.      because the date-file will still be on drive A:)
  71.  
  72.  4. Any command requiring a space between it (del *.bak) must be surrounded
  73.     by quotation marks.  Ie: [del *.bak] would become ["del *.bak"].
  74.  
  75.  5. Don't have any files in your path with a .XXX extension, because
  76.     they'll be deleted.
  77.  
  78.     (Oh no!  Gotta rename any pornographic files I have !)
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  "Everyday" is a free program, donated to the public domain in May, 1991.
  86.   Any usage of this utility should be a non-commercial use, and cannot
  87.   be sold or distributed for profit.  If you'd like to discuss permission
  88.   to sell this product, contact me on Compuserve 71441,2723.
  89.  
  90.   My utility makes a "PWEEEW" sound upon bootup when the date-file already
  91.   exists.  A longer "BWEEEEEEEP" is sounded when the file is created, and
  92.   your files-to-run are being executed.  The noise is not a system quirk !
  93.  
  94.  
  95.  
  96.  
  97. .
  98.  
  99.     ┌─────────────┐
  100.     │from the mind│
  101.     │       of      │┐
  102.     │          ││┐
  103.     │  DAVE SMITH │││
  104.     │          │││┐
  105.     └───┬─────────┘│││
  106.     └─┬────────┘││┐
  107.       └──┬──────┘││┐
  108.          └─┬─────┘││┐
  109.            └─┬────┘││
  110.          └─┬───┘│
  111.            └┬───┤
  112.            ┌┤──┬┘
  113.           ┌│└─┬┘
  114.          ┌│└─┬┘
  115.         ┌│└┬─┘
  116.            ┌│└┬┘
  117.           ┌│└┬┘
  118.          ┌└└─┘
  119.          └┘               █
  120.         *                  █▒
  121.         █                  █▒
  122.  █       ██          █        ▒ █▒
  123.  ██ *       ██    ▐     ▒█    /*\  █▒█▒       ▐▐
  124. ██████████████████████████████████████████████████████████
  125.     david smith i.d.f. company fort worth texas 1991
  126.